pull: Make fetcher work for file:/// URIs too
authorColin Walters <walters@verbum.org>
Tue, 2 Jul 2013 02:35:54 +0000 (22:35 -0400)
committerColin Walters <walters@verbum.org>
Tue, 2 Jul 2013 02:43:17 +0000 (22:43 -0400)
commita93f2b8d160058f7c250a0ce1b16a73b83b4f5ae
treef2500bc19f6236727b4b426ceffbedac489ebd9f
parentdc0f3c3dcbdd63d6a41ebc172b38c65576db9cd3
pull: Make fetcher work for file:/// URIs too

Even if very suboptimally, for now; we copy the files, then copy them
again.

The obvious long term plan is to merge pull-local and pull together,
but truly optimizing that requires the pull code to know how to use
the OstreeRepo APIs when operating on local repositories (as
pull-local does), rather than assuming the remote is an archive-z
fetched over HTTP.
src/ostree/ostree-fetcher.c
tests/archive-test.sh